package com.jiang.books.repository;

import java.math.BigInteger;
import java.util.List;

import org.springframework.data.repository.CrudRepository;

import com.jiang.books.domain.User;
import com.jiang.books.domain.UserBook;

public interface UserBookRepository extends CrudRepository<UserBook, BigInteger> {

	public List<UserBook> findByUser(User user);

}